<?php
/**
 * Author: Administrator
 * Date: 2022/8/3 1:33
 */

namespace DesignPatterns\Behavioral\Specification;

interface SpecificationInterface
{
    public function isSatisfiedBy(Item $item);

    public function both(SpecificationInterface $s);

    public function either(SpecificationInterface $s);

    public function not();
}